//
//  BaseModel.h
//  ui23_基类
//
//  Created by dllo on 15/10/19.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import <Foundation/Foundation.h>
//#define WITDH self.view.frame.size.width
//#define HEIGH self.view.frame.size.height
@interface BaseModel : NSObject



// 把时更要注意套字典传给方法 返回一个数组套model
+ (NSMutableArray *)baseModelByArr:(NSArray *)arr;

/**
 *  把数组中的字典转成model
 *
 *  @param arr 需要转model的字典在哪个数组
 *  @param dic 需要转model的字典
 *
 *  @return 新的数组套model
 */
//+ (NSMutableArray *)baseModelWithDicInArr:(NSMutableArray *)arr dicModel:(NSString *)dic;

+ (instancetype)baseModelWith:(NSDictionary *)dic;











@end
